#ifndef APPFLICKRVIEW_H
#define APPFLICKRVIEW_H
#include <UIEngine.h>
#include <UIWindow.h>
#include <UIPNGImage.h>
#include <UIJPGImage.h>
#include <UIText.h>
#include "../AppView.hpp"
#include "AppFlickRModel.h"

class AppFlickRView : public AppView{
 public:
  AppFlickRView();
  void displayFront();
  void displayBack();
  void transitive(float percent);
  ~AppFlickRView();
  void setSelected(int x, int y);
  void setClicked(int x, int y);
 private:
  void commonGL();
  std::list<std::string> _pictures;
  std::list<std::string> _largePictures;
  UIEngine* _ui;
  bool _loaded;
  int _xsel;
  int _ysel;
  bool clicked;
};


#endif
